/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package gameheart.client.logic;

import java.awt.Graphics;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;

/**
 *
 * @author win7
 */
public abstract class  State {
    protected  MainGame _mainGame;
    public State(MainGame mainGame)
    {
        _mainGame = mainGame;
    }
    public abstract  void gameUpdate();
    public abstract  void gameRender(Graphics g);
    public abstract  void gameInit();
    public abstract  void gameEnd();
    public abstract  void mouseClicked(MouseEvent e);
    public abstract  void keyPressed(KeyEvent e);

}
